﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using Model;
using System.Data;

namespace TCDCService
{
    #region IRESTService Interface

    [ServiceContract]
    public interface iRESTService
    {
        //Get Operation
        [OperationContract]
        [WebGet(UriTemplate = "GetUser/{id}")]
        tcdc_mst_user GetUser(string id);

        //POST operation
        [OperationContract]
        [WebInvoke(UriTemplate = "Register", Method = "POST")]
        RegisterModel Register(RegisterModel objRegister);
    }

    #endregion

}